package com.whnk.quartz.task;

import org.springframework.stereotype.Component;

/**
 * 定时任务调度测试
 * 
 * @author whnk
 */
@Component("demoTask")
public class DemoTask
{
    public void demoTaskParams(String params)
    {
        System.out.println("demoTask执行有参方法：" + params);
    }

    public void demoTaskNoParams()
    {
        System.out.println("demoTask执行无参方法");
    }
}
